package cn.pxs.tool;

import java.util.HashMap;
import java.util.Map;

public class RespJson {

    public static Map<String,Object> pack(int n,String msg,Object data){
        Map<String,Object> map = new HashMap<>();
        map.put("code",n);
        map.put("msg",msg);
        map.put("data",data);
        return map;
    }

}
